home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.2 KB | 36 lines | [TEXT/GEOL] |
- Item 7121852 15-Aug-89 17:07
-
- From: ATTACHMATE Attachmate, John Bartleson,PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Multiple Src Dirs and MABuild
-
- Greetings:
-
- This is a follow up to my link from a couple of days ago requesting help on
- setting up my MABuilds so that I could keep my source in multiple directories.
- My problem was this. If I put source in some directory, then the resulting
- object file would be placed in that same directory. This, of course, ruins
- MABuilds separate objects option. But if I changed my .MAMake file to have a
- dependency like this:
-
- "{ObjApp}SomeFile.p.p" ƒ "{SomeSrcDir}SomeFile.inc1.p"
-
- I would get errors since the default build rules only match files in the same
- directory. In reading the make documentation, I discovered directory
- dependencies. So, in my .MAMake file I put a new default directory rule:
-
- "{ObjApp}" ƒ "{SomeSrcDir}"
-
- and everything works fine. I guess I suffer from a little laziness since
- MacApp showed up. I didn’t think I would ever have to set up default rules
- again.
-
- Happy MABuilding,
-
- John D. Rinaldo, Jr.
- Attachmate Corporation
-
-
-